<?php
namespace slinks\extensions\container\plugintest;

use slinks\Slinks;

/**
 * Description of TestCase
 *
 * @author navid
 */
class TestCase extends \PHPUnit_Framework_TestCase {

    /**
     * Sets up the fixture, for example, opens a network connection.
     * This method is called before a test is executed.
     */
    protected function setUp() {
        Slinks::getInstance()->initialize(__DIR__);
    }
    
    public function testSubApp(){
       $this->assertTrue(Slinks::getInstance()->getApplicationContainer()->hasParameter('subappTest'));
       $this->assertTrue(Slinks::getInstance()->getApplicationContainer()->hasParameter('mocksubapp.root.dir'));
    }
    
    
}
